#include"SeqList.h"

void test1()
{
	SL s;
	SLPushBack(&s, 1);
	SLPushBack(&s, 2);
	SLPushBack(&s, 3);
	SLPushBack(&s, 4);
	SLPopBack(&s);
	SLPopBack(&s);
}

void test2()
{
	SL s;
	SLPushHead(&s, 1);
	SLPushHead(&s, 2);
	SLPushHead(&s, 3);
	SLPushHead(&s, 4);
	SLPopBack(&s);
}
int main()
{
	SL s;
	SL_Init(&s);
	SLPushBack(&s, 1);
	SLPushBack(&s, 2);
	SLPushBack(&s, 3);
	SLPushBack(&s, 4);
	SLChange(&s, 2, 7);
	SLPrint(&s);
	return 0;
}